package com.chixing.day07_abstract.word;

public class IntelCpu implements Cpu{
    public int cpuId;
    public String cpuName;
    public String cpuType;
    @Override
    public void cpuRunning() {
        System.out.println("cpu已经运行。cpu编号："+cpuId+",cpu名称："+cpuName+",cpu型号："+cpuType);
    }
    @Override
    public void cpuClosing() {
        System.out.println("cpu已经关闭。");
    }
    public IntelCpu(){
        System.out.println("Make an Intel's CPU");
    }
}
